package com.xinkao.log.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * <p>
 * 后台操作日志表
 * </p>
 *
 * @author 周洋
 * @since 2021-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Document(collection = "log")
public class Log implements Serializable {

private static final long serialVersionUID=1L;

    @Id
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "系统标识")
    private String systemMark;

    @ApiModelProperty(value = "机构id")
    private String orgId;

    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "操作时间")
    private String operatingTime;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "操作")
    private String operate;

    @ApiModelProperty(value = "操作模块")
    private String operateModule;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "ip地址")
    private String ipAddress;

    @ApiModelProperty(value = "操作平台")
    private String operatePlatform;

}
